CatFolders\Models\FolderModel A

Total Complexity 69
Dependencies 1
Dependents 6
Total lines 549
Lines of code 448
Logical lines of code 143
Comment lines 18
Methods 25
Properties 3

Methods 25

Method Rating Maintainability Complexity Lines of code
updatePositionAndParent()
A
41 10 64
get_all()
A
46 9 39
set_attachments()
A
44 8 48
createFolder()
S
46 4 43
get_nested_tree()
S
60 5 13
deleteFolder()
S
54 4 22
get_folders_counter()
S
49 3 32
get_children_ids()
S
57 3 17
group_parent_folders()
S
61 3 12
isExistingFolderName()
S
58 2 16
create_or_get()
S
59 2 15
getAttachmentRelationship()
S
60 2 13
updateToMaxOrd()
S
60 1 15
isFolderExist()
S
65 2 9
get_all_counter()
S
61 1 13
getRelationsWithFolderUser()
S
60 1 13
detail()
S
63 1 12
getFolderCount()
S
64 1 11
updateFolder()
S
71 1 6
sort_natural_asc()
S
79 1 3
sort_natural_desc()
S
78 1 3
unset_attachment()
S
69 1 8
getFolderFromPostId()
S
68 1 8
getPostIdsFromFolder()
S
64 1 10
protected_properties()
S
80 1 3